<?xml version='1.0'?>

<gl_extension name="GLX_EXT_import_context" reg_no="47">
	<tokens>
		<token name="GLX_SHARE_CONTEXT_EXT" value="0x800A"/>
		<token name="GLX_VISUAL_ID_EXT" value="0x800B"/>
		<token name="GLX_SCREEN_EXT" value="0x800C"/>
	</tokens>

	<functions>
		<function name="glXGetCurrentDisplayEXT" return="Display*"/>
		<function name="glXQueryContextInfoEXT" return="int">
			<params>
				<param type="Display*" name="dpy"/>
				<param type="GLXContext" name="context"/>
				<param type="int" name="attribute"/>
				<param type="int*" name="value"/>
			</params>
		</function>
		<function name="glXGetContextIDEXT" return="GLXContextID">
			<params>
				<param type="const GLXContext" name="context"/>
			</params>
		</function>
		<function name="glXImportContextEXT" return="GLXContext">
			<params>
				<param type="Display*" name="dpy"/>
				<param type="GLXContextID" name="contextID"/>
			</params>
		</function>
		<function name="glXFreeContextEXT" return="void">
			<params>
				<param type="Display*" name="dpy"/>
				<param type="GLXContext" name="context"/>
			</params>
		</function>
	</functions>
</gl_extension>
